package com.hkts.naturalgas.workshop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.workshop.entity.HktsWorkShop;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-08
 */
public interface IHktsWorkShopService extends IService<HktsWorkShop> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsWorkShop
     * @return
     */
    IPage<HktsWorkShop> selectPage(Page<HktsWorkShop> page, HktsWorkShop hktsWorkShop);

    List<HktsWorkShop> selectList(HktsWorkShop hktsWorkShop);

    HktsWorkShop getWorkShopByCode(String code);

    HktsWorkShop checkForExist(HktsWorkShop hktsWorkShop);
}